package com.project.service.impl;

import com.project.bean.ContryBean;
import com.project.mapper.IContryMapper;
import com.project.service.IContryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class ContryServiceImpl implements IContryService {
    @Autowired
    private IContryMapper mapper;

    @Override
    public List<ContryBean> findAll() {
        return mapper.findAll();
    }
}
